package git.LengNanJun.day318.demo1;



public class Car {
    public void drive() {
        System.out.println("汽车正在行驶");
    }

    public void horn() {
        System.out.println("汽车按喇叭");
    }

    public void horn(int num) {
        System.out.println("按喇叭按了"+num+"次");
    }
}
